<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page language="java" import="java.text.SimpleDateFormat"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>入侵检测系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="pattern/cm/theme/style/css.css" rel="stylesheet" type="text/css" />
</head>

<%if(session.getAttribute("username")==null||session.getAttribute("username")==""){ %>
<script type="text/javascript">
alert("你还没登陆！");
window.open("index.jsp","_top");
</script>

<% 
}else{
%>

<body>
<div id="header">
  <div style="background:url(pattern/cm/theme/images/logo001.png) no-repeat;">
    <div id="innerHeader">
      <div id="innerHeaders"><!--备用--></div>
      <div id="topguide">
        <ul id="topguide-entry">
           
             <li id="modstat" onMouseOver="showguide(this.id);"><a href="javascript:"
           onClick="return initguide('modstat');">模块状态管理</a></li>
           
           	<li id="startmodel" onMouseOver="showguide(this.id);"><a href="javascript:"
           onClick="return initguide('startmodel');">启动模式</a></li>
           
            <li id="alarmmanage" onMouseOver="showguide(this.id);"><a href="javascript:"
           onClick="return initguide('alarmmanage');">告警事件管理</a></li>
         <!--   
           <li id="parameterset" onMouseOver="showguide(this.id);"><a href="javascript:"
           onClick="return initguide('parameterset');">系统参数设置</a></li>
           
             <li id="systemcontrol" onMouseOver="showguide(this.id);"><a href="javascript:"
           onClick="return initguide('systemcontrol');">系统管理</a></li>
            -->
             <li id="protocolanalysis" onMouseOver="showguide(this.id);"><a href="javascript:"
           onClick="return initguide('protocolanalysis');">协议分析</a></li>
           
           <li id="DOScheck" onMouseOver="showguide(this.id);"><a href="javascript:"
           onClick="return initguide('DOScheck');">DOS/DDOS检测</a></li>
           
            <li id="netcheck" onMouseOver="showguide(this.id);"><a href="javascript:"
           onClick="return initguide('netcheck');">异常检测</a></li>
           
            <li id="charactercheck" onMouseOver="showguide(this.id);"><a href="javascript:"
           onClick="return initguide('charactercheck');">特征检测</a></li>
           <li id="statisticalanalysis" onMouseOver="showguide(this.id);"><a href="javascript:"
           onClick="return initguide('statisticalanalysis');">统计分析</a></li>
           	  <li id="usermanage" onMouseOver="showguide(this.id);"><a href="javascript:"
           onClick="return initguide('usermanage');">用户管理</a></li>
           
             <li id="oplog" onMouseOver="showguide(this.id);"><a href="javascript:"
           onClick="return initguide('oplog');">操作日志</a></li>
        </ul>
      </div>
    </div>
    <div class="c"></div>
        <div id="guide">
    	<span class="fr s1" style="margin:0 16px">
    		当前日期-<%=new SimpleDateFormat("yyyy年MM月dd日").format(new Date()) %> | 用户: ${username}　级别:  ${type}　|　
    		<a class="s0" href="<%=path%>/logout.action">安全退出</a>
    	</span>
    	<div id="guidenavigate"></div>
    </div>
  </div>
</div>
<div id="selector">
  <div id="left" class="inner"></div>
</div>
<div id="gird">
  <div class="inner">
    <iframe name="main" frameborder="0" scrolling=yes style="height:85%;visibility:inherit;width:100%;z-index:1" src="default.jsp"></iframe>
  </div>
</div>
<div id="footer">
  <div id="innerFooter"></div>
</div>
<iframe name="notice" frameborder="0" style="height:0;width:0;"></iframe>
<div id="menu" style="display:none"></div>
<div id="showmenu" style="display:none"></div>
<script language="JavaScript" src="pattern/cm/theme/js/menumisc.js"></script> 
<script language="JavaScript" src="pattern/cm/theme/js/deployinit.js"></script>
</body>
<%
}
 %>

</html>

